﻿using System;
using System.ComponentModel;
using DevExpress.Xpo;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    public class TopPartnerDetail : BaseObject
    {
        //begin
        public TopPartnerDetail(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _AccountNo;
        [Size(SizeAttribute.Unlimited)]
        public string AccountNo
        {
            get
            {
                return _AccountNo;
            }
            set
            {
                SetPropertyValue("AccountNo", ref _AccountNo, value);
            }
        }
        private string _CompanyCode;
        [Size(SizeAttribute.Unlimited)]
        public string CompanyCode
        {
            get
            {
                return _CompanyCode;
            }
            set
            {
                SetPropertyValue("CompanyCode", ref _CompanyCode, value);
            }
        }
        private string _CompanyId;
        [Size(SizeAttribute.Unlimited)]
        public string CompanyId
        {
            get
            {
                return _CompanyId;
            }
            set
            {
                SetPropertyValue("CompanyId", ref _CompanyId, value);
            }
        }
        private string _FullName;
        [Size(SizeAttribute.Unlimited)]
        public string FullName
        {
            get
            {
                return _FullName;
            }
            set
            {
                SetPropertyValue("FullName", ref _FullName, value);
            }
        }
        private string _CompanyName;
        [Size(SizeAttribute.Unlimited)]
        public string CompanyName
        {
            get
            {
                return _CompanyName;
            }
            set
            {
                SetPropertyValue("CompanyName", ref _CompanyName, value);
            }
        }
        private string _WangwangId;
        [Size(SizeAttribute.Unlimited)]
        public string WangwangId
        {
            get
            {
                return _WangwangId;
            }
            set
            {
                SetPropertyValue("WangwangId", ref _WangwangId, value);
            }
        }
        private string _RegMailNo;
        [Size(SizeAttribute.Unlimited)]
        public string RegMailNo
        {
            get
            {
                return _RegMailNo;
            }
            set
            {
                SetPropertyValue("RegMailNo", ref _RegMailNo, value);
            }
        }
        //end
    }
}
